﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="HYSoft.Web.Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="~/Controls/centerbottom.ascx" TagName="Bottom" TagPrefix="uc5" %>
<%@ Register Src="~/Controls/copyright.ascx" TagName="copyright" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>地质灾害物联网注册平台</title>
    <script type="text/javascript" src="bootstrap/js/ling.chinaArea.min-1.0.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            $ling.chinaArea.init("selProvince1", "selCity1", "selDistrict1");
            //$ling.chinaArea.init("selProvince2", "selCity2", "selDistrict2");
        };
    </script>
    <style type="text/css">
        .divbottom
        {
            width: 100%;
            float: left;
        }
        
        .divbottom .foot
        {
            width: 100%;
            height: 35px;
            background-color: #3b3b3b;
            text-align: center;
            color: #E3E3E3;
            vertical-align: middle;
        }
        
        .divbottom .foot a
        {
            color: #E3E3E3;
            line-height: 35px;
        }
        
        .divbottom .foot a:hover
        {
            color: #085ab4;
        }
    </style>
</head>
<body style="background-color: #E3E3E3; font-size: 9pt;">
    <form id="form1" runat="server">
    <div style="width: 1140px; height: auto; margin-right:auto; margin-left: auto; background-color:White;">
        <div>
            <img src="Images/top.PNG" /></div>
        <div style="width: 724px; height: 700px; margin: 0px auto 0px auto; background-color: #FFFFFF;
            border-radius: 5px;">
            <table>
                <tr>
                    <td style="font-size: 30px; background-color: #E3E3E3; width: 724px; height: 40px;">
                        地质灾害物联网监控平台·<span style="font-size: 20px;">用户注册</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table style="width: 724px; height: 374px;">
                            <tr>
                                欢迎您注册地质灾害物联网监测系统远程控制平台，请按要求填写注册信息</tr>
                            <tr>
                                &nbsp;</tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    用户名：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox1" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox1" runat="server" Width="155px"></asp:TextBox>--%>&nbsp;<b style="color: Red;">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator1" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; background-color: #eeeeee; text-align: right">
                                    登录密码：
                                </td>
                                <td style="width: 500px; text-align: left; text-align: left;">
                                <input type="password" id="TextBox2" runat="server" style="width:155px;"/>
                                    <%--<asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                        runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox2"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; background-color: #eeeeee; text-align: right">
                                    确认密码：
                                </td>
                                <td style="width: 500px; text-align: left">
                                 <input type="password" id="TextBox3" runat="server" style="width:155px;"/>
                                    <%--<asp:TextBox ID="TextBox3" runat="server" TextMode="Password" Width="155px"></asp:TextBox>--%>
                                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
                                        ControlToValidate="TextBox3" ErrorMessage="两次输入的密码不一致"></asp:CompareValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    单位：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                 <input type="text" id="TextBox4" runat="server" style="width:155px;"/>
                                    <%--<asp:TextBox ID="TextBox4" runat="server" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                                        runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox4"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    通信地址：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                 <input type="text" id="TextBox5" runat="server" style="width:155px;"/>
                                   <%-- <asp:TextBox ID="TextBox5" runat="server" Width="155px"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    邮编：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                 <input type="text" id="TextBox6" runat="server" style="width:155px;"/>
                                    <%--<asp:TextBox ID="TextBox6" runat="server" Width="155px"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    所在区县：
                                </td>
                                <td>
                                    <div>
                                        <select id="selProvince1" runat="server">
                                        </select>
                                        <label>
                                            省</label>
                                        <select id="selCity1" runat="server">
                                        </select>
                                        <label>
                                            市</label>
                                        <select id="selDistrict1" runat="server">
                                        </select>
                                        <label>
                                            区/县</label>
                                    </div>
                                </td>
                                <%-- <td style="width: 500px; text-align: left;">
                            <asp:TextBox ID="TextBox8" runat="server" Width="155px"></asp:TextBox>
                            <b style="color: red">*</b><asp:RequiredFieldValidator ID="RequiredFieldValidator8"
                                runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox8"></asp:RequiredFieldValidator></td>--%>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    联系人姓名：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox9" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox9" runat="server" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RequiredFieldValidator ID="RequiredFieldValidator9"
                                        runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox9"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    手机：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox10" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox10" runat="server" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                                        runat="server" ControlToValidate="TextBox10" ErrorMessage="请输入正确的手机号码" ValidationExpression="^1(3\d|5[36789])\d{8}$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    座机：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox11" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox11" runat="server" Width="155px"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    传真：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox12" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox12" runat="server" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RegularExpressionValidator ID="Regularemaill" runat="server"
                                        ControlToValidate="TextBox12" ErrorMessage="请输入正确的传真号" ValidationExpression="^[+]{0,1}(\d){1,3}[ ]?([-]?((\d)|[ ]){1,12})+$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    邮箱：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                <input type="text" id="TextBox13" runat="server" style=" width:155px;" />
                                    <%--<asp:TextBox ID="TextBox13" runat="server" Width="155px"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RegularExpressionValidator ID="mailregular" runat="server"
                                        ControlToValidate="TextBox13" ErrorMessage="请输入正确的邮箱" ValidationExpression="^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 200px; text-align: right; background-color: #eeeeee;">
                                    用户类别：
                                </td>
                                <td style="width: 500px; text-align: left;">
                                    <asp:DropDownList ID="DropDownList1" runat="server">
                                        <asp:ListItem Value="0">普通用户</asp:ListItem>
                                        <asp:ListItem Value="1">单位用户</asp:ListItem>
                                    </asp:DropDownList>
                                    <b style="color: red">*</b>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="TextBox14" runat="server" Height="100px" CssClass="loinBox" Style="line-height: 180%;"
                            TextMode="MultiLine" Text="*地质灾害物联网监控系统远程控制平台使用协议*" BackColor="#EEEEEE" Width="712px"
                            Font-Bold="False" ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <input onserverclick="agree_Click" runat="server" type="button" value="同意并提交" id="agree" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="divbottom">
        <div class="foot">
            <span>友情链接</span>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.ccrdi.com" target="_blank">
                招商局重庆交通科研设计院有限公司</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a href="http://www.cqu.edu.cn" target="_blank">
                    重庆大学</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a href="http://www.cqust.cn" target="_blank">重庆科技学院</a>
        </div>
        <uc1:copyright ID="copyright1" runat="server" />
    </div>
    </form>
</body>
</html>
